﻿{
	"DataResultType": "List",
	"RecordSchema": [
		{
			"ViewModelItemType": "CDO",
			"SortOrder": 0,
			"ViewModelItemCode": "Department",
			"ViewModelItemName": "Department",
			"ViewModelItemSchema": {
				"ViewModelItemCode": "Department",
				"ViewModelItemName": null,
				"Relation": null,
				"Properties": [
					{
						"ViewModelItemCode": null,
						"ID": "DepartmentID",
						"Code": "ID",
						"Name": "主键标识",
						"Description": "主键标识",
						"DataType": 9,
						"IsPrimaryKey": true,
						"SortOrder": 0,
						"IsDetail": false,
						"IsVirtual": false,
						"RelatePropertyCode": null,
						"SubSchema": null
					},
					{
						"ViewModelItemCode": null,
						"ID": "DepartmentCode",
						"Code": "Code",
						"Name": "编号",
						"Description": "编号",
						"DataType": 9,
						"IsPrimaryKey": false,
						"SortOrder": 1,
						"IsDetail": false,
						"IsVirtual": false,
						"RelatePropertyCode": null,
						"SubSchema": null
					},
					{
						"ViewModelItemCode": null,
						"ID": "DepartmentName",
						"Code": "Name",
						"Name": "名称",
						"Description": "名称",
						"DataType": 9,
						"IsPrimaryKey": false,
						"SortOrder": 2,
						"IsDetail": false,
						"IsVirtual": false,
						"RelatePropertyCode": null,
						"SubSchema": null
					},
					{
						"ViewModelItemCode": null,
						"ID": "DepartmentName",
						"Code": "CompanyID",
						"Name": "所属公司ID",
						"Description": "所属公司ID",
						"DataType": 9,
						"IsPrimaryKey": false,
						"SortOrder": 3,
						"IsDetail": false,
						"IsVirtual": true,
						"RelatePropertyCode": null,
						"SubSchema": null
					},
					{
						"ViewModelItemCode": null,
						"ID": "Department-Company",
						"Code": "Company",
						"Name": "公司",
						"Description": "公司",
						"DataType": 10,
						"IsPrimaryKey": false,
						"SortOrder": 4,
						"IsDetail": false,
						"IsVirtual": false,
						"RelatePropertyCode": "CompanyID",
						"SubSchema": {
							"ViewModelItemCode": "Company",
							"ViewModelItemName": null,
							"Relation": {
								"ID": "aeb37781-f4d0-4629-aee2-101b54babe8a",
								"FromViewModelItemSchemaCode": "Department",
								"FromPropertyCode": "CompanyID",
								"ToViewModelItemSchemaCode": "Company",
								"ToPropertyCode": "ID"
							},
							"Properties": [
								{
									"ViewModelItemCode": null,
									"ID": "CompanyID",
									"Code": "ID",
									"Name": "主键标识",
									"Description": "主键标识",
									"DataType": 9,
									"IsPrimaryKey": true,
									"SortOrder": 0,
									"IsDetail": false,
									"IsVirtual": false,
									"RelatePropertyCode": null,
									"SubSchema": null
								},
								{
									"ViewModelItemCode": null,
									"ID": "CompanyCode",
									"Code": "Code",
									"Name": "编号",
									"Description": "编号",
									"DataType": 9,
									"IsPrimaryKey": false,
									"SortOrder": 1,
									"IsDetail": false,
									"IsVirtual": false,
									"RelatePropertyCode": null,
									"SubSchema": null
								},
								{
									"ViewModelItemCode": null,
									"ID": "CompanyName",
									"Code": "Name",
									"Name": "名称",
									"Description": "名称",
									"DataType": 9,
									"IsPrimaryKey": false,
									"SortOrder": 2,
									"IsDetail": false,
									"IsVirtual": false,
									"RelatePropertyCode": null,
									"SubSchema": null
								}
							]
						}
					},
					{
						"ViewModelItemCode": null,
						"ID": "DepartmentCreateTime",
						"Code": "CreateTime",
						"Name": "创建时间",
						"Description": "创建时间",
						"DataType": 7,
						"IsPrimaryKey": false,
						"SortOrder": 4,
						"IsDetail": false,
						"IsVirtual": false,
						"RelatePropertyCode": null,
						"SubSchema": null
					}
				]
			}
		}
	],
	"ListTypeMethod": {
		"List": {
			"Current": {
				"Descrpition": "获取当前记录",
				"RecordSchema": "@RecordSchema"
			},
			"CurrentRowNumber": "获取当前行",
			"Rows": "获取数据行数",
			"Empty": "数据是否为空"
		},
		"Count": "获取数据总条数"
	}
}